<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <base href="${pageContext.request.contextPath}/" />
        <link rel="stylesheet" href="resource/css/body/common.css" />
        <link rel="stylesheet" href="resource/css/body/nav_left.css" />
        <link rel="stylesheet" href="resource/css/userbook/share_book.css" />
        <title>图书借阅管理系统</title>
    </head>
    <body>
        <jsp:include page="../body/nev_left.jsp"></jsp:include>
        
        <div id="right_all">
            
            <div id="right_body">
                
                <form action="book/shareBook.action" id="share_book_form" method="post">
                    <input type="hidden" name="userId" value="${user.id }" >
                
                
                    <div id="share_book_content">
                    
                        <div id="book_cover">
                            <div id="content_image">
                                <img src="resource/img/logo1.png" />
                            </div>
                            <input id="add_image_button" type="button" value="添加封面图片..." />
                        </div>
                    
                        <div id="book_info">
						                            书名: <input type="text" name="bookName" id="book_name" /> <br />
						                            作者: <input type="text" name="author"  id="book_author" /> <br />
						                            科目: <input type="radio" name="bookClassify" id="book_classify" value="小说" checked="checked" /> 小说     
                                <input type="radio" name="bookClassify" id="book_classify" value="文艺" /> 文艺
                                <input type="radio" name="bookClassify" id="book_classify" value="生活" /> 生活
                                <input type="radio" name="bookClassify" id="book_classify" value="经管" /> 经管
                                <input type="radio" name="bookType" id="book_type" value="科技" /> 科技 <br />
                         			   类型: <select name="bookType" id="book_type">
                                    <option value="">--图书类型--</option>
                                    <option value=""></option>
                                    <option value=""></option>
                                    <option value=""></option>
                                    <option value=""></option>
                                    <option value=""></option>
                                </select>
                                <br />
                                <br />
                           		简介:
                                <textarea name="description" id="book_description" rows="8" cols="100"></textarea>
                        
                            <input type="button" id="sharebook_submit" class="common_button" value="分享图书" onclick="sub()" />
                            
                            <input type="button" id="sharebook_cancel" class="common_button" value="取消" />
                        </div>
                    
                </div>
                </form>
                
            </div>
            
        </div>
        
    </body>
    
    
    <script type="text/javascript" src="resource/js/body/jquery.js" ></script>
    <script type="text/javascript" src="resource/js/body/nav_left.js" ></script>
    <script type="text/javascript" src="resource/js/userbook/share_book.js" ></script>
</html>